package com.zpark.spring_01.service.impl;

import com.zpark.spring_01.dao.IAccountDao;
import com.zpark.spring_01.factory.BeanFactory;
import com.zpark.spring_01.service.IAccountService;

/**
 * @PackageName: com.zpark.spring_01.service.impl
 * @ClassName: AccountServiceImpl
 * @Description:
 * @author: RZS
 * @date: 2023/3/23  9:44
 */
public class AccountServiceImpl implements IAccountService {

    private IAccountDao accountDao = (IAccountDao) BeanFactory.getBean("accountDao");

    @Override
    public void save() {
        accountDao.saveAccount();
    }
}
